package com.cgsd.heyu.presenter.news;


import com.cgsd.heyu.common.UserModeConfig;
import com.cgsd.heyu.entity.AdContentEntity;
import com.cgsd.heyu.entity.DefaultAvatarEntity;
import com.cgsd.heyu.presenter.BasePresenter;
import com.cgsd.heyu.presenter.BaseView;
import com.hztz.kankanzhuan.event.TaskStatusEvent;

import java.util.List;

/**
 * @author xiaoxing
 * 新闻 相关
 */
public interface NewsContract {


    interface  Presenter extends BasePresenter {

        /**
         * 状态改变
         * @param taskStatusEvent  event
         */
        void newsStatusChanged(TaskStatusEvent taskStatusEvent);

    }

    interface NewsView extends BaseView<Presenter> {
        // 成功
        void newsDoneSuccess(String taskId,String orderId);
        //失败
        void newsDoneFailed();

    }

}
